extends layout

block content
  include includes/navbar.pug
  .d-flex.flex-column.justify-content-center.align-items-center(style="height: 100vh")
      form.mx-auto(action="/register", method="post", style="width: 400px")
        .form-group.row
          h4.col-12.col-md-4 用户注册
        .form-group.row
          label.col-12.col-md-4 用户名
          input.col-12.col-md-8.form-control(type="text", name="username", placeholder="最少3位，最多15位")
        .form-group.row
          label.col-12.col-md-4 密码
          input.col-12.col-md-8.form-control(type="password", name="password", placeholder="最少6位密码")
        .row
          .col-12.offset-md-8.col-md-4
            button.btn.btn-primary.btn-block(type="submit") 注册
  include includes/foot.pug
  script(src="/javascripts/register.js")